home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple Reference & Present…ry 5: (Reseller Edition)
/
Apple Reference & Presentations Library 5.0 (Reseller Edition).iso
/
5-Fonts & Software
/
HyperCard 1.2.5
/
Help Stacks
/
Help
/
card_71769.txt
< prev
next >
Wrap
Text File
|
1987-11-25
|
521b
|
26 lines
-- card: 71769 from stack: in
-- bmap block id: 0
-- flags: 0000
-- background id: 4507
-- name:
-- part contents for background part 2
----- text -----
Offset
-- part contents for background part 1
----- text -----
offset(<text1>,<text2>)
Gives the location of the first character of text1 inside text2. Gives 0 if text1 is not found within text2.
offset("def", "abcdef") -- gives 4
offset("xyz","abcdef") -- gives 0
offset(field 1, message)
-- part contents for background part 43
----- text -----
337,169